package com.yyge.mapper;

import java.util.List;

public interface BaseMapper <T> {

    int deleteByPrimaryKey(Long id);

    int insert(T t);
    
    int insertSelective(T t);

    T selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(T t);

    int updateByPrimaryKey(T t);

    List<T> selectAll(T t);

    T login(T t);
}
